<div class="full-screen">
  <header>
    <div class="a-bar">
      <a href="javascript:history.back()" class="a-back"><i class="arr left"></i><{t}>返回<{/t}></a>
      <div class="a-name"><{t}>找回密码<{/t}></div>
    </div>
  </header>
  <div class="full-padding">
    <form action="<{link app=b2c ctl='wap_passport' act='retrieve'}>" method="post" class="form" >
	  <div style="margin-top:20px; margin-left:55px;">
		  <input type="radio" class="reg_style" name="reg_style" value="0" checked="checked" id="em" onclick="show1()"><label for="em"><{t}>E-mail<{/t}></label>
		  <input type="radio" class="reg_style" name="reg_style" value="1" id="te" onclick="javascript:$('#reg_email').hide();$('#reg_phone').show();$('#reg_phone2').show();" style=" margin-left:20px;"><label for="te"><{t}>Моб.номер<{/t}></label>
	  </div>
      <div class="c-g" id="reg_email">
         <label class="c-l"><i class="iconfont">&#xe600;</i></label>
         <div class="c">
            <input type="text" name="username1" class="text"  autofocus placeholder="<{t}>邮箱<{/t}>" data-caution="<{t}>邮箱不能为空<{/t}>">
         </div>
      </div>
	  <{if $phones}>
	  <div class="c-g" id="reg_phone" style="display:none;">
			<label class="c-l"><i class="iconfont" title="手机图标">&#xe60b;</i></label>
			<div class="c">
				<select name="phone_setting" id="quhao">
				<{foreach from=$phones item=items}>
				<option sid="<{$items.length}>" value="<{$items.area}>"><{$items.country}><{$items.area}></option>
				<{/foreach}>
				</select>
			</div>
	  </div>
	  <{/if}>
	  <div class="c-g" style="display:none;" id="reg_phone2">
		<label class="c-l"><i class="iconfont">&#xe60b;</i></label>
		<div class="c">
		  <{input type="text" name="username2" placeholder=$___b2c="请填写手机号"|t:'b2c'  id="check_tel" class="text"}><span  style="color:red" class="validation-messagebox" id="phoneid"></span></span>
		</div>
	  </div>
      <div class="notice"></div>
      <div class="btn-bar">
        <button type="submit" class="btn orange" ><{t}>下一步<{/t}></button>
      </div>
    </form>
  </div>
</div>
<script>
function show1(){
	$('#reg_email').show();
	$('#reg_phone').hide();
	$('#reg_phone2').hide();
}
</script>